package com.secxiot.provider.task.dao;

import com.secxiot.provider.task.entity.JpushLog;
import com.secxiot.provider.task.entity.JpushLogExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface JpushLogDao {
    int countByExample(JpushLogExample example);

    int deleteByExample(JpushLogExample example);

    int deleteByPrimaryKey(Long id);

    int insert(JpushLog record);

    int insertSelective(JpushLog record);

    List<JpushLog> selectByExample(JpushLogExample example);

    JpushLog selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") JpushLog record, @Param("example") JpushLogExample example);

    int updateByExample(@Param("record") JpushLog record, @Param("example") JpushLogExample example);

    int updateByPrimaryKeySelective(JpushLog record);

    int updateByPrimaryKey(JpushLog record);
}